package com.PTRS.entities;

import java.io.Serializable;
import java.util.Date;

public class Course implements Serializable {
    private int courseID;
    private Date courseStartTime;
    private Date courseEndTime;
    private String courseName;
    private String courseIntro;
    private int courseOpenedBy;
    private int coursePricePerDay;

    public int getCoursePricePerDay() {
        return coursePricePerDay;
    }

    public void setCoursePricePerDay(int coursePricePerDay) {
        this.coursePricePerDay = coursePricePerDay;
    }

    public int getCourseOpenedBy() {
        return courseOpenedBy;
    }

    public void setCourseOpenedBy(int courseOpenedBy) {
        this.courseOpenedBy = courseOpenedBy;
    }

    public int getCourseID() {
        return courseID;
    }

    public void setCourseID(int courseID) {
        this.courseID = courseID;
    }

    public Date getCourseStartTime() {
        return courseStartTime;
    }

    public void setCourseStartTime(Date courseStartTime) {
        this.courseStartTime = courseStartTime;
    }

    public Date getCourseEndTime() {
        return courseEndTime;
    }

    public void setCourseEndTime(Date courseEndTime) {
        this.courseEndTime = courseEndTime;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseIntro() {
        return courseIntro;
    }

    public void setCourseIntro(String courseIntro) {
        this.courseIntro = courseIntro;
    }

    @Override
    public String toString() {
        return "Course{" +
                "courseID=" + courseID +
                ", courseStartTime=" + courseStartTime +
                ", courseEndTime=" + courseEndTime +
                ", courseName='" + courseName + '\'' +
                ", courseIntro='" + courseIntro + '\'' +
                ", courseOpenedBy=" + courseOpenedBy +
                ", coursePricePerDay=" + coursePricePerDay +
                '}';
    }

    public Course() {
    }
}
